<html>
  <head>
    <script>
      if (window.internals)
        internals.settings.setImageAnimationPolicy("none");

      function finishTest() { window.testRunner.notifyDone(); }

      function waitForFrame() {
        if (window.testRunner) {
          setTimeout(finishTest, 0.5);
        }
      }
    </script>
    <style>
      .gif {
        background-image: url(animation-blue.gif);
        height: 100px;
        width: 100px;
      }
      .svg {
        background-image: url(resources/animation-green-red.svg);
        height: 100px;
        width: 100px;
      }
    </style>
  </head>
  <body onload="waitForFrame()">
    <div class="gif"></div>
    <div class="svg"></div>
  </body>
</html>
